package com.engineering.elink.domain;

import java.util.Date;

public class CourseBrowse {
    private Integer courseBrowId;

    private Integer courseId;

    private String userId;

    private Date time;
    
    public CourseBrowse(){
    	
    }
    
    public CourseBrowse(Integer courseId,String userId){
    	this.courseId=courseId;
    	this.userId=userId;
    	this.time=new Date();
    }

    public Integer getCourseBrowId() {
        return courseBrowId;
    }

    public void setCourseBrowId(Integer courseBrowId) {
        this.courseBrowId = courseBrowId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}